package com.ls.lscrm.web.dao;

import com.ls.lscrm.web.model.CourseOrder;
import com.ls.lscrm.web.model.MonthIncome;

import java.util.List;
import java.util.Map;

public interface CourseOrderDao {
    int findCountByMap(Map<String, Object> params);

    List<CourseOrder> findListByMap(Map<String, Object> params);

    int insert(CourseOrder order);

    CourseOrder findByOrderId(String order_id);


    int deleteById(String order_id);

    int update(CourseOrder order);

    List<MonthIncome> getMonthIncomes();
}
